package io.renren.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.util.Date;

@TableName("application")
public class Application implements java.io.Serializable {

	private static final long serialVersionUID = -6579114812284177505L;

	/**
	 * ID
	 */
    @TableId
	private long id;

	/**
	 * 应用id
	 */
	private String applicationId;

	/**
	 * 应用加密串
	 */
	private String applicationSecret;

	/**
	 * 创建时间
	 */
	private Date createDate = new Date();

	/**
	 * 最后一次更改时间
	 */
	private Date lastModifyTime;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getApplicationId() {
		return applicationId;
	}

	public void setApplicationId(String applicationId) {
		this.applicationId = applicationId;
	}

	public String getApplicationSecret() {
		return applicationSecret;
	}

	public void setApplicationSecret(String applicationSecret) {
		this.applicationSecret = applicationSecret;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getLastModifyTime() {
		return lastModifyTime;
	}

	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}

}
